home *** CD-ROM | disk | FTP | other *** search
/ Aminet 23 / Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso / Aminet / misc / emu / amiSPIMsrc.lha / spim-syscall.h < prev    next >
Text File  |  1994-01-17  |  1KB  |  37 lines

  1. /* SPIM S20 MIPS simulator.
  2.    System calls implemented by simulator.
  3.    Copyright (C) 1990-1994 by James Larus (larus@cs.wisc.edu).
  4.    ALL RIGHTS RESERVED.
  5.  
  6.    SPIM is distributed under the following conditions:
  7.  
  8.      You may make copies of SPIM for your own use and modify those copies.
  9.  
  10.      All copies of SPIM must retain my name and copyright notice.
  11.  
  12.      You may not sell SPIM or distributed SPIM in conjunction with a
  13.      commerical product or service without the expressed written consent of
  14.      James Larus.
  15.  
  16.    THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  17.    IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  18.    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  19.    PURPOSE. */
  20.  
  21.  
  22. /* $Header: /home/primost/larus/Software/SPIM/RCS/spim-syscall.h,v 3.4 1994/01/18 03:21:45 larus Exp larus $
  23. */
  24.  
  25.  
  26. #define PRINT_INT_SYSCALL    1
  27. #define PRINT_FLOAT_SYSCALL    2
  28. #define PRINT_DOUBLE_SYSCALL    3
  29. #define PRINT_STRING_SYSCALL    4
  30. #define READ_INT_SYSCALL    5
  31. #define READ_FLOAT_SYSCALL    6
  32. #define READ_DOUBLE_SYSCALL    7
  33. #define READ_STRING_SYSCALL    8
  34. #define SBRK_SYSCALL        9
  35. #define EXIT_SYSCALL        10
  36.  
  37.